s=input("请输入内容")
dic={}
for i in s:
   if i in dic:
      dic[i]+=1
   else:
      dic[i]=1
max=max(dic,key=dic.get)
print(max)
for i,j in dic.items():
   print(f"'{i}':{j}")
